package cn.itcast.cd.domain;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 采购单明细
 */
public class PurchaseBillItem {
	
	private Long id;
	
	//采购订单
	private PurchaseBill bill;
	
	//采购产品
	private Product product;
	
	
	
	//采购金额
	private BigDecimal price = new BigDecimal(0);
	
	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getNum() {
		return num;
	}

	public void setNum(BigDecimal num) {
		this.num = num;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	//数量
	private BigDecimal num = new BigDecimal(0);
	
	//小计
	private BigDecimal amount = new BigDecimal(0);
	
	private String remark;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public PurchaseBill getBill() {
		return bill;
	}

	public void setBill(PurchaseBill bill) {
		this.bill = bill;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}


	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}
